<?php defined('RUN_KATANA') or die('Restricted access'); ?>
<?php if(is_object($ad)): ?>
<div class="prospect gallery">
	<div class="prospect-padding">
    	<div class="row-fluid">
			<?php require($adc->getViewPath().'elements/Title.php'); ?>
            <div class="prospect-image"><?php require($adc->getViewPath().'elements/Image.php'); ?></div>
            <div class="info">
                <div class="cat-info bold">
					<?php if(is_object($ad->getUserImage())): ?>
					<div class="profileimage"><a title="<?php echo $ad->getContactCompany(); ?>" href="/profile/<?php echo $ad->getUserId(); ?>"><img alt="<?php echo $ad->getContactCompany(); ?>" src="<?php echo $ad->getUserImage()->getLink(100, 50); ?>" /></a></div>
					<?php endif; ?>
					<?php require($adc->getViewPath().'elements/CatInfo.php'); ?>
				</div><div class="clearfix"></div>
                <div class="row-fluid row">
                    <div class="span6 col-md-6"><?php require($adc->getViewPath().'elements/Year.php'); ?></div>
                    <div class="span6 col-md-6"><?php require($adc->getViewPath().'elements/Price.php'); ?></div>
				<?php if((($ad->getYear() > 0) && ($ad->getDisplayYear() > 0)) && (($ad->getDisplayPrice() > 0) && ($ad->getPriceGlobalTxt(0) != '0'))): ?>
                </div>
                <div class="row-fluid row">
				<?php endif; ?>
                    <div class="span6 col-md-6 engine-info"><?php require($adc->getViewPath().'elements/EngineInfo.php'); ?></div>
                    <div class="span6 col-md-6"><?php require($adc->getViewPath().'elements/LengthUsed.php'); ?></div>
                </div>
                <?php require($adc->getViewPath().'elements/Description.php'); ?>
            </div>
        </div>
	</div>
</div>
<?php endif; ?>